<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>

<jsp:useBean class="Bean.User" scope="session" id="worker">
<%String ruolo= worker.getWork();%>
<%String utente= worker.getName()+" "+worker.getSurname();%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="default.css" rel="stylesheet" type="text/css" />

<title>warehouseman</title>
</head>

<body>
<div id="wrapper">
  <div id="header">
    <div id="logo">
      <h1><a href="#">baronerosso.it</a></h1>
    </div>
    <!-- end div#logo -->
  </div>
  <!-- end div#header -->
  <div id="menu">
    <ul>
      <li class="active"><a href="homeutente.jsp">Admin</a></li>
      <li ><a href="index.jsp">Home</a></li>
      <li><a href="Group.jsp">Gruppo</a></li>
      <li><a href="Contact.jsp">contatti</a></li>
      
    </ul>
  </div>
  <!-- end div#menu -->
  <div id="page">
    <div id="page-bgtop">
      <div id="content">
        <div class="post">
        <h2 class="title"><a href="#">Messaggio presentazione Azienda</a></h2>
          <p class="byline">sottotitolo</p>
          <div class="entry">
            <p>TESTO DELLA PRESENTAZIONE</p>
          </div>
          
          
                 
        </div>
        
      </div>
      
              
      <!-- end div#content -->
      <div id="sidebar">
        
         <strong>Benvenuto</strong> <%out.print(user)%> </br>
        <ul>
        <li>
          <h2 class="categories">Menu Principale</h2>
          
                            
		 <% if(ruolo.equalsIgnoreCase("Seller"))
		  			{%>
          	  <li><a href="/QuerySelect.jsp">Sales Monitoring</a></li><hr />
              <li><a href="/Warehouse.jsp"><strong>Warehouse Monitoring</strong></a></li><hr />
              <li><a href="/AddjobOrder.jsp">Add job Order</a></li><hr />
                       
          <%}else if(ruolo.equalsIgnoreCase("Warehouseman"))
		  			{%>
          	  <li><a href="/Warehouse.jsp"><strong>Warehouse Monitoring</strong></a></li><hr />
              <li><a href="/AddjobOrder.jsp">Add job Order</a></li><hr />
            		 <%}%>
              
        </ul>
		</li>
            
         	<!-- </li>
         	</ul>-->
      </div>
      <!-- end div#sidebar -->
      <div style="clear: both; height: 1px"></div>
    </div>
  </div>
  
  <!-- end div#page -->
  <div id="footer">
    <p>Copyright Barone rosso<br />Designed by </p>
  </div>
  <!-- end div#footer -->
</div>
<!-- end div#wrapper -->
</body>
</html>